﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ZDSoft.LMS.Core;
using ZDSoft.LMS.Service;

namespace ZDSoft.LMS.Web.Controllers
{
    public class AnalysisController : UcController
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult MonthlyAnalysis()
        {
            TransportYears();
            return View();
        }

        private void TransportYears()
        {
            ViewBag.MonthList = Container.Instance.Resolve<IAnalysisService>().GetMonths();            
        }

        public ActionResult SeasonAnalysis()
        {
            TransportYears();
            return View();
        }
    }
}
